﻿using BLL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace QQGarden
{
    public partial class MyContent : System.Web.UI.Page
    {
        MyContent_BLL MyContent_BLL = new MyContent_BLL();
        protected void Page_Load(object sender, EventArgs e)
        {
            //if (!IsPostBack)
            //{
            //    rptContentListBind();

            //}
            
        } 

        public void rptContentListBind()
        {
            rptContentList.DataSource = MyContent_BLL.Order();
            rptContentList.DataBind();
        }

        protected void subbtn1_Click(object sender, EventArgs e)
        {

        }

        protected void rptContentList_ItemCommand(object source, RepeaterCommandEventArgs e)
        {

        }

        protected void lkbtn1_Click(object sender, EventArgs e)
        {
            Response.Redirect("ShopCart.aspx");
        }
    }
}